<template>
  <Table
      :data="users"
      :virtualScroll="true"
      :columns="[
      { title: 'ID', dataIndex: 'id' },
      { title: '姓名', dataIndex: 'name' },
      { title: '年龄', dataIndex: 'age' }
    ]"
  />
</template>

<script setup>
import { ref } from 'vue'
import Table from '@/components/Table/Table.vue'

const users = ref([
  { id: 1, name: '张三', age: 25 },
  { id: 2, name: '李四', age: 30 },
  { id: 3, name: '王五', age: 28 }
])
</script>